package com.weeho.dongyong.controller;

import com.weeho.dongyong.service.HoldGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;

/**
 * Created by moods on 17-1-1.
 */
@Controller
public class HoldGoods {

    @Autowired
    private HoldGoodsService holdGoodsService;

    public String addHoldGoods(ModelMap model){

        model.put("holdgoods",holdGoodsService.getAll());

        return "addHoldGoods";
    }
}
